<?php
include_once 'ZCollection.php';

class ZAuthorCollection extends ZCollection {

    /**
     * @param $item ZAuthorItem
     */
    public function addItem($item){
        $this->items[] = $item;
    }
    /**
     * @param $index
     * @return ZAuthorItem
     */
    public function getIndex($index){
        return $this->items[$index];
    }
}